"""
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
@Project : autotest
@File : login_base.py
@Author : zjx
@Time : 2022/11/18 19:42

"""


class LoginBase:

    def login_input(self, input_placeholder):
        return f"//input[@placeholder='{input_placeholder}']"

    def login_button(self, button_name):
        return f"//span[text()='{button_name}']/parent::button"
